package com.gavindon.android.network

/**
 * description:
 * Created by liNan on  2021/5/9 21:43
 */
const val baseUrl: String = "http://114.67.251.200/Server"
//const val baseUrl: String = "http://114.67.232.203/Server"
//const val baseUrl: String = "http://1.85.12.190:12404/Server"
const val downloadAppUrl = "http://114.67.251.200/DownloadApp/"
// 图片
const val BASE_URL_IMG = "http://114.67.251.200/MediaStore"
//const val BASE_URL_IMG = "http://114.67.232.203/MediaStore"
//const val BASE_URL_IMG = "http://1.85.12.190:12404/MediaStore"

//推荐课程
const val recommendList: String = "Api-Course/Client/Course/Recommend/List"

//热门课程
const val popularList: String = "Api-Course/Client/Course/Popular/List"

//获取最新课程
const val newestList: String = "Api-Course/Client/Course/Newest/List"

//获取轮播图
const val slideshowsbanner: String = "Api-Course/Client/Slideshows"

//用户信息
const val loginUser: String = "Api-User/Client/Login/User"

// 获取本课程目录
const val courseCatalogTree: String = "Api-Course/Client/Course/Catalog/Tree"

//获取本课程视频信息
const val clientCourse: String = "Api-Course/Client/Lesson"

//获取课程信息
const val clientCourseDetail: String = "Api-Course/Client/Course"

const val clientCourseClassLst: String = "Api-Course/Client/Course/Lesson/List"

// 栏目及其课程
const val columnCourseList = "Api-Course/Client/Column/Course/List"

// 通过栏目Id获取课程
const val courseColumnId = "Api-Course/Client/Course/ColumnId"

// *****教育*****
/* 模块类型----- courseType 1教育-2创新-3老人-4乡村振兴 */
// 获取科目树
const val subjectTree = "Api-Course/Client/Subject/Tree"

// 获取本科目课程
const val subjectCourseList = "Api-Course/Client/Subject/Course/List"

// 通过ID查询课时信息 -视频地址
const val clientLessons = "Api-Course/Client/Lesson"

// 保存视频播放进度接口-保存视频进度 post
const val clientLessonProgress = "Api-Course/Client/Lesson/Progress"

// 获取视频播放进度接口-课时进度 get
const val clientLessonRcd = "Api-Course/Client/Lesson/Rcd"

// *****扫码登录*****
// 获取扫码登录的验证码
const val scanCode = "Api-User/Client/getScanCode"

// 确认登录
const val userLogin = "Api-User/Client/scanCode/userLogin"

// 我的记录：课程服务接口-前台观看历史-课程进度
const val clientCourseRcd = "Api-Course/Client/Course/Rcd"
const val clientCourseRcdById = "Api-Course/Client/Lesson/Rcd"

// 我的收藏：课程服务接口-课程收藏-获取当前用户的收藏课程列表  post
const val clientFavoriteCourses = "Api-Course/Client/Favorite/Courses"

// 编辑用户信息  post
const val clientUserEdit = "Api-User/Client/User/Edit"

// 图片上传 允许后缀名：jpg,jpeg,png  post
const val uploadImg = "Api-Course/System/Upload/Img"

// 加入收藏 post
const val clientFavoriteAdd = "Api-Course/Client/Favorite/Add"

// 取消收藏 post
const val clientFavoriteCancel = "Api-Course/Client/Favorite/Cancel"

// 获取当前课程是否被用户收藏 post
const val clientFavoriteStatus = "Api-Course/Client/Favorite/Status"

/*******搜索*********/
const val clientCourseSearch = "Api-Course/Client/Course/Search"

// 搜索排行-查询热门搜索课程
const val searchFindHotCourse = "Api-Course/Search/Find/HotCourse"

// 热门搜索-查询热门搜索词汇
const val searchFindHotVocabulary = "Api-Course/Search/Find/HotVocabulary"

/*******套餐********/

//通过课程ID查询套餐列表
const val comboLstByCourseId = "Api-Course/Client/Package/ByCourseId/UserId"

//通过套餐ID查询套餐详情信息
const val comboLst = "Api-Course/Client/Package"

//根据套餐分类id获取套餐列表
const val comboLstByBySubjectId = "Api-Course/Client/Package/BySubjectId"

//获取树结构
const val comboLstTree = "Api-Course/Client/Package/Subject/Tree"


/********支付***********/
//生成orderId
const val generateOrderId = "Api-Course/Client/Package/FindOrCreatWillPay"
const val wxPay = "Api-Course/Client/Package/wxPcPay"
const val aliPay = "Api-Course/Client/Package/aliPcPay" //生成二维码
const val queryIsPay = "Api-Course/Client/package/ByOrderId"

const val findOrder = "Api-Course/Client/Package/Find/Order" //支付完成检查套餐是否可以观看
const val myCourseOrPackage =
    "Api-Course/Client/Package/Find/MyCourseOrPackage" //我的订单courseType 0：课程 1：套餐

//我的订单查询
const val queryOrderLst = "Api-Course/Client/Package/Find/MyCourseOrPackage"


